package com.by.mapper;

import com.by.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Set;

/**
* @author 86176
* @description 针对表【sys_menu(菜单管理)】的数据库操作Mapper
* @createDate 2024-12-09 14:54:02
* @Entity com.by.entity.SysMenu
*/
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    /**
     * 根据用户ID查询菜单集合
     * @param userId
     * @return
     */
    Set<SysMenu> selectUserMenusByUserId(Long userId);

}




